package cn.laixueit.mapper;

import cn.laixueit.pojo.Teacher;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeacherMapper {

    @Select("select * from teacher where sid = #{id}")
    public Teacher findBySid(Integer id);

    public List<Teacher> teachers(Integer id);

}
